#include "font.h"

const unsigned char fblue[8][5]={
    {0,0,1,0,0},
    {1,0,1,1,0},
    {0,1,1,0,1},
    {0,0,1,1,0},
    {0,0,1,1,0},
    {0,1,1,0,1},
    {1,0,1,1,0},
    {0,0,1,0,0}
};

const unsigned char nums[80][5]={
    {0,1,1,1,0},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {0,1,1,1,0},          //0
    {0,0,1,0,0},
    {0,1,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,1,1,1,0},          //1
    {0,1,1,1,0},
    {1,0,0,0,1},
    {0,0,0,0,1},
    {0,0,0,1,0},
    {0,0,1,0,0},
    {0,1,0,0,0},
    {1,0,0,0,0},
    {1,1,1,1,1},          //2
    {0,1,1,1,0},
    {1,0,0,0,1},
    {0,0,0,0,1},
    {0,1,1,1,0},
    {0,0,0,0,1},
    {0,0,0,0,1},
    {1,0,0,0,1},
    {0,1,1,1,0},          //3
    {0,0,0,1,0},
    {0,0,1,1,0},
    {0,1,0,1,0},
    {1,0,0,1,0},
    {1,1,1,1,1},
    {0,0,0,1,0},
    {0,0,0,1,0},
    {0,0,0,1,0},          //4
    {1,1,1,1,1},
    {1,0,0,0,0},
    {1,0,0,0,0},
    {0,1,1,1,0},
    {0,0,0,0,1},
    {0,0,0,0,1},
    {1,0,0,0,1},
    {0,1,1,1,0},          //5
    {0,1,1,1,0},
    {1,0,0,0,1},
    {1,0,0,0,0},
    {1,1,1,1,0},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {0,1,1,1,0},          //6
    {1,1,1,1,1},
    {0,0,0,0,1},
    {0,0,0,1,0},
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,0},
    {0,0,1,0,0},          //7
    {0,1,1,1,0},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {0,1,1,1,0},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {0,1,1,1,0},          //8
    {0,1,1,1,0},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {1,0,0,0,1},
    {0,1,1,1,1},
    {0,0,0,0,1},
    {1,0,0,0,1},
    {0,1,1,1,0},          //9
};

const unsigned char num4x8[80][4]={
	{1,1,1,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,1,1,1,},		//0
	{0,0,1,0,},
	{0,1,1,0,},
	{0,0,1,0,},
	{0,0,1,0,},
	{0,0,1,0,},
	{0,0,1,0,},
	{0,0,1,0,},
	{0,0,1,0,},		//1
	{1,1,1,1,},
	{0,0,0,1,},
	{0,0,0,1,},
	{1,1,1,1,},
	{1,0,0,0,},
	{1,0,0,0,},
	{1,0,0,0,},
	{1,1,1,1,},		//2
	{1,1,1,1,},
	{0,0,0,1,},
	{0,0,0,1,},
	{1,1,1,1,},
	{0,0,0,1,},
	{0,0,0,1,},
	{0,0,0,1,},
	{1,1,1,1,},		//3
	{1,0,0,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,1,1,1,},
	{0,0,0,1,},
	{0,0,0,1,},
	{0,0,0,1,},
	{0,0,0,1,},		//4
	{1,1,1,1,},
	{1,0,0,0,},
	{1,0,0,0,},
	{1,1,1,1,},
	{0,0,0,1,},
	{0,0,0,1,},
	{0,0,0,1,},
	{1,1,1,1,},		//5
	{1,1,1,1,},
	{1,0,0,0,},
	{1,0,0,0,},
	{1,1,1,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,1,1,1,},		//6
	{1,1,1,1,},
	{0,0,0,1,},
	{0,0,1,0,},
	{0,1,0,0,},
	{0,1,0,0,},
	{0,1,0,0,},
	{0,1,0,0,},
	{0,1,0,0,},		//7
	{1,1,1,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,1,1,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,1,1,1,},		//8
	{1,1,1,1,},
	{1,0,0,1,},
	{1,0,0,1,},
	{1,1,1,1,},
	{0,0,0,1,},
	{0,0,0,1,},
	{0,0,0,1,},
	{1,1,1,1,},		//9
};

const unsigned char num3x6[60][3]={
	{1,1,1,},
	{1,0,1,},
	{1,0,1,},
	{1,0,1,},
	{1,0,1,},
	{1,1,1,},		//0
	{0,1,0,},
	{0,1,0,},
	{0,1,0,},
	{0,1,0,},
	{0,1,0,},
	{0,1,0,},		//1
	{1,1,1,},
	{0,0,1,},
	{1,1,1,},
	{1,0,0,},
	{1,0,0,},
	{1,1,1,},		//2
	{1,1,1,},
	{0,0,1,},
	{1,1,1,},
	{0,0,1,},
	{0,0,1,},
	{1,1,1,},		//3
	{1,0,1,},
	{1,0,1,},
	{1,1,1,},
	{0,0,1,},
	{0,0,1,},
	{0,0,1,},		//4
	{1,1,1,},
	{1,0,0,},
	{1,1,1,},
	{0,0,1,},
	{0,0,1,},
	{1,1,1,},		//5
	{1,1,1,},
	{1,0,0,},
	{1,1,1,},
	{1,0,1,},
	{1,0,1,},
	{1,1,1,},		//6
	{1,1,1,},
	{0,0,1,},
	{0,1,0,},
	{0,1,0,},
	{0,1,0,},
	{0,1,0,},		//7
	{1,1,1,},
	{1,0,1,},
	{1,1,1,},
	{1,0,1,},
	{1,0,1,},
	{1,1,1,},		//8
	{1,1,1,},
	{1,0,1,},
	{1,1,1,},
	{0,0,1,},
	{0,0,1,},
	{1,1,1,},		//9
};


const unsigned char openlog1[8][32]=
{
	{0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,},
	{0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,},
	{0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,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